package com.kai.service;

import com.kai.pojo.Coach;
import com.kai.pojo.Course;
import com.kai.pojo.CourseType;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface CourseService {
    List<CourseType> selectAllType();
    List<Coach> selectCoach();
    int updateCourse(Course course,int ctid,String cid);
    int addCourse( Course course, int ctid,String cid);
    List<Course> selectAllCourse(String name, int i, int pageSize);
    int selectAllCourseCount(String name);
    int deleteCourse(String id);
    int selectCourseByName(String name);
    List<Course> selectCourse(String coach_id,String courseType_id);
    Course selectCourseById(String id);
}
